package com.dd.ms.auth.pojo.DO;

import com.baomidou.mybatisplus.annotation.TableName;
import com.dd.ms.common.pojo.annotation.Explanation;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @Author liuxianmeng
 * @CreateTime 2025/7/10 9:19
 * @Description 用户&角色关联DO
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@TableName(value = "rel_user_roles", autoResultMap = true)
@Explanation(value = "用户&角色关联DO")
public class UserRolesRelDO {
    @Explanation(value = "用户ID，自增主键")
    private Long userId;
    @Explanation(value = "角色ID，自增主键")
    private Long roleId;
}
